*
{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
a {
    text-decoration: none;
}

/* 导航栏部分 */
.nav {
    background-color: #333;
    height: 40px;
    box-shadow: 0 1px 2px #666;
}

.btli {
    float: left;
    width: 100px;
    line-height: 40px;
    text-align: center;
}

.rbtli {
    float: right;
    width: 100px;
    line-height: 40px;
    text-align: center;
}

a,.user,.chu {
    color: #fff;
    display: block;
}

a:hover, .chu:hover {
    background-color: #666;
    cursor: pointer;
}

.xiala {
    position: relative;
}

.droplist {
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #333;
    box-shadow: 0 1px 2px #333;
    display: none;
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;
}

.btli:hover .droplist {
    display: block;
}

.droplist li {
    width: 100px;
}

.droplist li {
    border: 1px solid #666;
}

.center {
    margin-left: 40%;
    margin-top: 20px;
}

/* 宠物小卡片 */
body{
    min-height: 100vh;
    /* background:linear-gradient(45deg,#00bcd4,#ffeb3b); */
    background: linear-gradient(45deg, #a1c4fd 0%, #c2e9fb 100%);
}
.container
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap:100px 50px;
    /* padding: 100px 50px; */
    padding: 100px 50px 50px 50px;
}
.container .card
{
    position: relative;
    display: flex;
    justify-content: center;
    align-items:flex-start;
    width:350px;
    height: 300px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 35px 80px rgba(0, 0,0,0.15);
    transition: 0.5s;
}
.container .card:hover
{
    height: 400px;
}

.container .card .imgBx
{
    position:absolute;
    top:20px;
    width:300px;
    height: 220px;
    background:#333;
    border-radius: 12px;
    overflow: hidden;
    transition:0.5s;
}
.container .card:hover .imgBx
{
    top:-100px;
    scale: 0.75;
    box-shadow: 0 15px 45px rgba(0,0,0,0.2);
}
.container .card .imgBx img
{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    object-fit: cover;
}

.container .card .content
{
    position:absolute;
    top: 252px;
    width:100%;
    padding: 0 30px;
    height: 30px;
    overflow: hidden;
    text-align: center;
    transition: 0.5s;
}
.container .card:hover .content
{
    top: 130px;
    height: 250px;
}
.container .card .content h2
{
    font-size: 1.5em;
    font-weight: 700;
    color:var(--clr);
}

.container .card .content .introduce div
{
    margin-top: 10px;
}
.container .card .content a
{
    position:relative;
    top:15px;
    display: inline-block;
    padding: 12px 25px;
    background:var(--clr);
    color:#fff;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
}


/* 模态框部分 */
.mask{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 100;
    /*display: none;*/
}
.modal{
    position: fixed;
    top: 0;
    left: 50%;
    width: 500px;
    margin-top: 20px;
    transform: translateX(-50%);
    border-radius: 5px;
    background: #fff;
    box-shadow: 2px 3px 20px rgba(0,0,0,0.2);
    z-index: 120;
    /*display: none;*/
}
.modal .modal-header{
    height: 50px;
    border-bottom: 1px solid #f5f5f5;
    padding: 0 15px;
}
.modal .modal-header p {
    line-height: 50px;
    display: inline-block;
}
.modal .modal-header .title{
    font-size: 18px;
    color: #333;
}
.modal .modal-header .close{
    float: right;
    font-size: 26px;
    margin-top: -2px;
    color: #9C9FA4;
    cursor: pointer;
}

.modal label {

    display: block;

    margin: 0px;

}

.modal label>span {

    float: left;

    width: 20%;

    text-align: right;

    padding-right: 10px;

    margin-top: 10px;

    color: #888;

}

.modal input {

    border: 1px solid #DADADA;

    color: #888;

    height: 30px;

    margin-bottom: 16px;

    margin-right: 6px;

    margin-top: 2px;

    outline: 0 none;

    padding: 3px 3px 3px 5px;

    width: 70%;

    font-size: 12px;

    line-height:15px;

    box-shadow: inset 0px 1px 4px #ECECEC;

    -moz-box-shadow: inset 0px 1px 4px #ECECEC;

    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;

}


.modal select {
    appearance:none;

    margin-bottom: 16px;

    -webkit-appearance:none;

    -moz-appearance: none;

    text-indent: 0.01px;

    text-overflow: '';

    width: 70%;

    height: 35px;

    line-height: 25px;

}

.update,.delete {
    font-size: 16px;
    padding: 0 10px;
    color: white;
    background: #409EFF;
    border: none;
    border-radius: 10px;
}

.delete {
    background: lightcoral;
    margin-left: 15px;
}

.modal .modal-footer .btn{
    padding: 0 20px;
    margin: 0 20px;
    height: 36px;
    line-height: 36px;
    color: white;
    background: #409EFF;
    border: none;
    border-radius: 15px;
    cursor: pointer;
}
.modal .modal-footer{
    border-top: 1px solid #f5f5f5;
    padding: 15px;
    text-align: right;

}

/* 分页功能 */
.page {
    width: 100%;
    height: 66px;
    border: 1px solid #00AEEC;
    position: relative;
}

.page .leftPage {
    line-height: 66px;
    font-size: 16px;
    display: inline-block;
    margin-left: 15px;
}

ul.pager li {display: inline;}

ul.pager {

    display: inline-block;
    /* padding: 0;
    margin: 0; */
}

ul.pager li a {
    color: #000;                     /* 字体颜色 */
    background-color: #fff;          /* 背景颜色 */
    float: left;                       /* 从左向右浮动 */
    padding: 12px 18px;                /* 内边距 */
    margin:9px;                        /* 外边距 */
    text-decoration: none;             /* 清除文字修饰 */
    border-radius: 6.5px;              /* 圆角 */
    transition: background-color .3s;  /* 动画变换时间 */
}

ul.pager li a:hover:not(.active) {
    background-color: #cdcdcd;
}

ul.pager li a.active {
    background-color: #4E6EF2;
    color: white;
    border: 1px solid #4E6EF2;
}

.bk{
    position: absolute;
    top: 0;
    right: 0;
    height:66px;
    width: 700px;
    background-color: #F5F5F6;
    text-align:center
}
